

from collections import deque

def tail(n):
    with open("./20220120/test.txt",'r') as f:
        q = deque(f,n)
        return q


for line in tail(5):
    print(line,end=" ")
